<?php

require_once(dirname(__FILE__).'/../ApiPool.php');

//
ApiPool::setRequestSrc("yinbo");
$api_pool = new ApiPool();
$api_pool->setServer("10.241.12.117", 10026, false);
$api_pool->setCrypter(ApiPoolCryptType::MD5_SIGN, "fdafasfadfafdadfas");

$test_case = array(
	array("Shorten.MakeShortUrlByLongUrl", array("url"=>" http://www.snda.com")),
);

$res = $api_pool->request($test_case[0][0], /**/
				$test_case[0][1],  /**/
				10000 /*(ms)*/
				);

var_dump($res);

?>